#ifndef LIBACCENT_ALGORITHMS_PRINT_RANGE_HPP
#define LIBACCENT_ALGORITHMS_PRINT_RANGE_HPP

#include <iostream>

namespace accent
{

  template <typename Range>
  void print_range(Range r) {
    std::cout << "{ " << r.front();
    r.pop_front();
    for (; !r.empty(); r.pop_front()) {
      std::cout << ", " << r.front();
    }
    std::cout << " }";
  }

}

#endif
